import axios from "@/utils/requests"

/**
 * 获取订单列表
 * @param {*} list 
 * @returns 
 */
export const orderListReq = (list) => {
    return axios.get('/order/list', {
        params: list
    })
}

/**
 * 获取订单报表数据
 * @param {*} data 
 * @returns 
 */
export const ordertotalReq = (date) => {
    return axios.get('/order/ordertotal', {
        params: { date }
    })
}